package org.csu.petstore_manage.persistence;

import org.csu.petstore_manage.domain.Category;
import org.csu.petstore_manage.domain.Product;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CategoryMapper {
    List<Category> getCategoryList();

    Category getCategory(String categoryId);

    void addCategory(String categoryId,String categoryName,String categoryDescn);

}
